package com.cxy;

public class Client {
    public static void main(String[] args) {
        Subject cat = new Cat();
        cat.add(new Master());
        cat.add(new Mouse());
        cat.notifyObserver();
    }
}
